#ifndef GESTDATA_HPP_INCLUDED
#define GESTDATA_HPP_INCLUDED

typedef struct headerFile headerFile;
struct headerFile{
    int nbFichier;
};

typedef struct fileElem fileElem;
struct fileElem{
    char fileName[300];
    long size;
    long offset;
};

class GestData{
    public:
    GestData(std::string fileName);
    ~GestData();

    private:
    std::string name;
    headerFile header;
    std::vector<fileElem> elemFich;

    void createDataFile();
    void readHeader();
};

#endif // GESTDATA_HPP_INCLUDED
